package com.zh.user.domain.dto;

import com.zh.web.base.BaseDto;
import com.zh.web.enums.Status;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("封禁/解封dto")
public class BanUserDto extends BaseDto {
    @ApiModelProperty(value = "用户id",required = true)
    @NotNull(message = "用户id不能为空")
    private Long id;
    @ApiModelProperty(value = "封禁5/解封1",required = true)
    private Status status;
}
